package com.emokili.ewa.manager.admin.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.emokili.ewa.manager.common.annotation.Excel;
import com.emokili.ewa.manager.common.core.domain.BaseEntity;

/**
 * 主板对象 manager_main_board
 * 
 * @author lcb
 * @date 2022-02-21
 */
public class MainBoard extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主板id */
    private Long id;

    /** 型号 */
    @Excel(name = "型号")
    private String model;

    /** 版本 */
    @Excel(name = "版本")
    private String version;

    /** 内存 */
    @Excel(name = "内存")
    private String memory;

    /** 芯片 */
    @Excel(name = "芯片")
    private String emmc;

    /** wifi模块 */
    @Excel(name = "wifi模块")
    private String wifi;

    /** 待补充- */
    @Excel(name = "待补充-")
    private String pmv;

    /** 待补充- */
    @Excel(name = "待补充-")
    private String gSensor;

    /** 功效IL */
    @Excel(name = "功效IL")
    private String effectIl;

    /** 音效IL */
    @Excel(name = "音效IL")
    private String soundIl;

    /** 是否带MIC（0是，2否） */
    @Excel(name = "是否带MIC", readConverterExp = "0=是，2否")
    private String isMic;

    /** 是否有纽扣电池（0是，2否） */
    @Excel(name = "是否有纽扣电池", readConverterExp = "0=是，2否")
    private String isButtonCell;

    /** 创建人 */
    @Excel(name = "创建人")
    private String createdBy;

    /** 创建时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "创建时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date createdTime;

    /** 更新人 */
    @Excel(name = "更新人")
    private String updatedBy;

    /** 更新时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "更新时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date updatedTime;

    /** 删除标记位（0存在，2删除） */
    private String delFlag;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setModel(String model) 
    {
        this.model = model;
    }

    public String getModel() 
    {
        return model;
    }
    public void setVersion(String version) 
    {
        this.version = version;
    }

    public String getVersion() 
    {
        return version;
    }
    public void setMemory(String memory) 
    {
        this.memory = memory;
    }

    public String getMemory() 
    {
        return memory;
    }
    public void setEmmc(String emmc) 
    {
        this.emmc = emmc;
    }

    public String getEmmc() 
    {
        return emmc;
    }
    public void setWifi(String wifi) 
    {
        this.wifi = wifi;
    }

    public String getWifi() 
    {
        return wifi;
    }
    public void setPmv(String pmv) 
    {
        this.pmv = pmv;
    }

    public String getPmv() 
    {
        return pmv;
    }
    public void setgSensor(String gSensor) 
    {
        this.gSensor = gSensor;
    }

    public String getgSensor() 
    {
        return gSensor;
    }
    public void setEffectIl(String effectIl) 
    {
        this.effectIl = effectIl;
    }

    public String getEffectIl() 
    {
        return effectIl;
    }
    public void setSoundIl(String soundIl) 
    {
        this.soundIl = soundIl;
    }

    public String getSoundIl() 
    {
        return soundIl;
    }
    public void setIsMic(String isMic) 
    {
        this.isMic = isMic;
    }

    public String getIsMic() 
    {
        return isMic;
    }
    public void setIsButtonCell(String isButtonCell) 
    {
        this.isButtonCell = isButtonCell;
    }

    public String getIsButtonCell() 
    {
        return isButtonCell;
    }
    public void setCreatedBy(String createdBy) 
    {
        this.createdBy = createdBy;
    }

    public String getCreatedBy() 
    {
        return createdBy;
    }
    public void setCreatedTime(Date createdTime) 
    {
        this.createdTime = createdTime;
    }

    public Date getCreatedTime() 
    {
        return createdTime;
    }
    public void setUpdatedBy(String updatedBy) 
    {
        this.updatedBy = updatedBy;
    }

    public String getUpdatedBy() 
    {
        return updatedBy;
    }
    public void setUpdatedTime(Date updatedTime) 
    {
        this.updatedTime = updatedTime;
    }

    public Date getUpdatedTime() 
    {
        return updatedTime;
    }
    public void setDelFlag(String delFlag) 
    {
        this.delFlag = delFlag;
    }

    public String getDelFlag() 
    {
        return delFlag;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("model", getModel())
            .append("version", getVersion())
            .append("memory", getMemory())
            .append("emmc", getEmmc())
            .append("wifi", getWifi())
            .append("pmv", getPmv())
            .append("gSensor", getgSensor())
            .append("effectIl", getEffectIl())
            .append("soundIl", getSoundIl())
            .append("isMic", getIsMic())
            .append("isButtonCell", getIsButtonCell())
            .append("createdBy", getCreatedBy())
            .append("createdTime", getCreatedTime())
            .append("updatedBy", getUpdatedBy())
            .append("updatedTime", getUpdatedTime())
            .append("delFlag", getDelFlag())
            .append("remark", getRemark())
            .toString();
    }
}
